/*******************************************************************************
 * Package: com.hngtrust.iir.report.controller.dto
 * Type:    SavePrivateReportReqVO
 * Date:    2021/9/14 13:32
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.report.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 修改内部研报响应
 *
 * @author Chaidd
 * @date 2021/10/28 10:32
 */
@ApiModel(description = "修改内部研报响应")
@Data
public class UpdatePrivateReportResqVO {

    @ApiModelProperty(value = "文件大小")
    private Integer size;

    /**
     * id
     */
    private Long id;
    
    /**
     * 研报标题
     */
    @NotBlank
    @ApiModelProperty(value = "研报标题")
    private String title;
    
    /**
     * 研报类型
     */
    @NotNull
    @ApiModelProperty(value = "研报类型")
    private Long reportType;
    
    
    
    /**
     * 行业代码
     */
    @NotBlank(message = "行业代码为空")
    @ApiModelProperty(value = "行业代码")
    private String industryCode;
    
    /**
     * 行业名称
     */
    @NotBlank(message = "行业名称为空")
    @ApiModelProperty(value = "行业名称")
    private String industryName;
    
    /**
     * 公司id
     */
    @ApiModelProperty(value = "公司id")
    private Long compId;
    
    /**
     * 公司名称
     */
    @NotBlank(message = "公司名称为空")
    @ApiModelProperty(value = "公司名称")
    private String compName;
    
    /**
     * 发布机构
     */
    @NotBlank(message = "发布机构为空")
    @ApiModelProperty(value = "发布机构")
    private String orgName;
    
    /**
     * 研报评级
     */
    @NotNull(message = "研报评级为空")
    @ApiModelProperty(value = "研报评级")
    private Integer rank;
    
    /**
     * 评级变动
     */
    @NotNull(message = "评级变动为空")
    @ApiModelProperty(value = "评级变动")
    private Integer rankChange;
    
    /**
     * 分析师
     */
    @NotBlank(message = "分析师为空")
    @ApiModelProperty(value = "分析师")
    private String analyst;
    
    /**
     * 摘要
     */
    @NotBlank(message = "摘要为空")
    @ApiModelProperty(value = "摘要")
    private String summary;
    
    /**
     * 发布时间
     */
    @NotNull(message = "发布时间为空")
    @ApiModelProperty(value = "发布时间")
    private Long publishTime;
    
    /**
     * 原始文件名称
     */
    @NotBlank(message = "文件名称为空")
    @ApiModelProperty(value = "原始文件名称")
    private String fileName;
    
    /**
     * 原始文件路径
     */
    @NotBlank(message = "文件路径为空")
    @ApiModelProperty(value = "原始文件路径")
    private String filePath;
    
    /**
     * 研报页数
     */
    @NotNull(message = "研报页数为空")
    @ApiModelProperty(value = "研报页数")
    private Integer pages;
    
    /**
     * 权限标识
     */
    @NotNull(message = "权限为空")
    @ApiModelProperty(value = "权限标识 1公开 2不公开")
    private Integer rightTag;
    
    /**
     * 允许下载
     */
    @NotNull(message = "下载为空")
    @ApiModelProperty(value = "允许下载 0不允许 1允许")
    private Integer dwonTag;
    
   
    @ApiModelProperty(value = "权限列表")
    private List<Long> userIds;
   
    
    
   
    
}
